package com.quanshu.exchange.support.config;

/**
 * Created by jye on 2017/11/20.
 */

public class Config {

    public static final String URL_HOST_SHOP = "http://nxdtest.xixilife.net/";//测试
    public static final String URL_HOST_SHOP_IMG = "http://nxdtest.xixilife.net";//测试
//    public static final String URL_HOST_NET = "http://www.xixilife.net/";//测试聊天

    public static final String URL_HOST_NET = "http://www.xixilife.net/";//线上聊天

    public static final String GRAPH_CODE = URL_HOST_SHOP + "api_user/getPicCode/phone/";

    public static final int MAKE_CALL_TIMEOUT = 45 * 1000;

    public static final String DELETE_SYSTEM_MSG = "delete";//系统消息设为删除

    public static final String UPDATE_SYSTEM_MSG = "edit";//系统消息设为已读

    public static final String DEFAULT_RED_PACKAGE_REMARK = "恭喜发财，大吉大利！";//系统消息设为已读

    // 联系人变化
    public static final String ACTION_NOTIFY_CHANGED = "ACTION_NOTIFY_CHANGED";
    //分享
    public static final String SHARE_APP_URL = "http://www.cattleshop.cn/site/index/niumessage_download";

    // 商城首页
    public static final String URL_SHOP_INDEX = URL_HOST_SHOP + "index.php?controller=cattle_exchange_show&action=index";

    // 聊天消息分页
    public static final int Chat_MSG_PAGE = 10;

    // 0:no  1:yes
    public static final String Chat_ext_attr_message_shielding = "msg_shielding";

    // 是否听筒播放
    public static final boolean Chat_voice_is_speak_on = true;

    //    //创建ShopStoreFragment(商城首页) - url的user_id
//    public static final String create_shopStore_userId = "cattle_exchange_show/index?user_id=";
//
    //创建ShopStoreFragment(商城首页) - url的memberid
    public static final String create_shopStore_memberid = "&memberid=";

    //创建OrderPaymentActivity(订单结算) - url的id
    public static final String create_orderPayment_id = "cattle_exchange_simple/cart2/id/";

    //创建OrderPaymentActivity(订单结算) - url的num
    public static final String create_orderPayment_num = "/num/";

    //创建OrderPaymentActivity(订单结算) - url的type
    public static final String create_orderPayment_type = "/type/";

    //创建OrderPaymentActivity(订单结算) - url的is_service
    public static final String create_orderPayment_isService = "/is_service/";

    //大熊让加的
    public static final String is_inn = "/is_inn/";

    //创建OrderPaymentActivity(订单结算) - url的user_id
    public static final String create_orderPayment_userId = "/user_id/";

    //创建OrderPaymentActivity(订单结算) - url的memberid
    public static final String create_orderPayment_memberid = "/memberid/";

    //创建OrderPaymentActivity(订单结算) - url的order_id
    public static final String create_orderPayment_orderId = "/order_id/";

    //创建OrderPaymentActivity(订单结算) - url的/from/order
    public static final String create_orderPayment_fromOrder = "/from/order";

    //创建SettleAccountActivity(购物车->结算页面) -url的goodsArr
    public static final String create_settleAccount_goodsArr = "cattle_exchange_simple/cart2?goodsArr=";

    //创建SettleAccountActivity(购物车->结算页面) -url的user_id
    public static final String create_settleAccount_userd = "&user_id=";

    //创建SettleAccountActivity(购物车->结算页面) -url的 &from=cart
    public static final String create_settleAccount_fromCart = "&from=cart";

    /*****拦截****/
    //拦截此url跳转至购物车 - 商城首页右上角
    //http://test.cattleshop.cn/cattle_exchange_show/goApp?goMyCart
    public static final String skip_shopTrolley = URL_HOST_SHOP + "cattle_exchange_show/goApp?goMyCart";

    //拦截此url跳转至购物车 - 商城的商品详情页 购物车按钮
    //http://test.cattleshop.cn/cattle_exchange_show/goApp?operate=goMyCart
    public static final String skip_shopDetails = URL_HOST_SHOP + "cattle_exchange_show/goApp?operate=goMyCart";

    //拦截此url关闭 - 订单 - 结算付款
    //http://test.cattleshop.cn/cattle_exchange_show/goApp?operate=order
    public static final String skip_colsePayment = URL_HOST_SHOP + "cattle_exchange_show/goApp?operate=order";

    //拦截此url关闭 - 购物车 - 结算付款
    //http://test.cattleshop.cn/cattle_exchange_show/goApp?operate=cart
    public static final String skip_settleAccount = URL_HOST_SHOP + "cattle_exchange_show/goApp?operate=cart";

    /**
     * 从订单，购物车去支付，调用微信支付后返回 -
     * http://test.cattleshop.cn/cattle_exchange_show/index
     * 截取之后取字符串“index”，返回。
     * ###########################否则，返回覆盖底部导航栏的首页，
     */
    public static final String skip_weixinPay_back = URL_HOST_SHOP + "cattle_exchange_show/index";

    //拦截此url，在牛积分支付成功后，跳转至订单列表   **非  处理**
    //http://test.cattleshop.cn/cattle_exchange_show/goApp?order_id=769
}